<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery简单的选择器</title>
<style type="text/css">
		.txt-color1{ color:#FF0000}
		.txt-color2{ color:#666600}
		.txt-color3{ color:#000066}
	</style>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		setInterval('scroll()',50)

		var data="{'inputlist':[{'desc':'姓名','name':'姓名','option':[],'require':'y','type':'text','uniqueID':-328389837},{'desc':'a|b|c|d','name':'地区','option':['a','b','c','d'],'require':'n','type':'select','uniqueID':1814768046}]}"; 
		var dataObj=eval("("+data+")");
		alert(dataObj.inputlist.length);
		alert(dataObj.inputlist[1].desc);
		alert(dataObj.inputlist[1].name);
	});

	var str = "这是一个在线拍卖的网站，请尽情血拼吧！";
	var seq = 0;

	function scroll() {
		msg = str.substring(0, seq+1);
		banner.innerHTML = msg;
		seq++;
		if (seq >= str.length) seq = 0;
	}

</script>
</head>
<body>
	<FONT ID="banner"></FONT>
</body>
</html>
